import NotFound from '@/views/not-found';

export default [
  {
    path: '/',
    redirect: '/home',
  },
  {
    path: '/home',
    name: 'home',
    meta: { title: '首页' },
    component: () => import('@/views/home'),
  },
  {
    path: '*',
    name: 'error',
    component: NotFound,
  },
];
